package org.jeecg.modules.inventory.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 库存明细
 * @Author: jeecg-boot
 * @Date:   2024-07-01
 * @Version: V1.0
 */
@ApiModel(value="buss_inventory_details对象", description="库存明细")
@Data
public class BussInventoryDetailsWarehouseVo implements Serializable {
    /**单据编号*/
    @Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String code;
    /**物料分类*/
    @Excel(name = "物料种", width = 15, dictTable = "erp_goods_category", dicText = "name", dicCode = "code")
    @Dict(dictTable = "erp_goods_category", dicText = "name", dicCode = "code")
    @ApiModelProperty(value = "物料种")
    private String categoryCode;
    /**物料编号*/
    @Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private String materialCode;
    /**客户物料编号*/
    @Excel(name = "客户物料编号", width = 15)
    @ApiModelProperty(value = "客户物料编号")
    private String customerMaterialCode;
    /**物料名称*/
    @Excel(name = "物料名称", width = 15)
    @ApiModelProperty(value = "物料名称")
    private String materialName;
    /**规格型号*/
    @Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String noneSpec;
    /**单位*/
    @Excel(name = "单位", width = 15, dicCode = "ji_unit")
    @Dict(dicCode = "ji_unit")
    @ApiModelProperty(value = "单位")
    private String meUnit;
    /**数量*/
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal quantity;
    /**辅助单位*/
    @Excel(name = "辅助单位", width = 15, dicCode = "zl_unit")
    @Dict(dicCode = "zl_unit")
    @ApiModelProperty(value = "辅助单位")
    private String auUnit;
    /**辅助数量*/
    @Excel(name = "辅助数量", width = 15)
    @ApiModelProperty(value = "辅助数量")
    private java.math.BigDecimal auxiliaryQuantity;
    /**库位编号*/
    @Excel(name = "库位编号", width = 15)
    @ApiModelProperty(value = "库位编号")
    private String warehouseLocationCode;
    /**库位*/
    @Excel(name = "库位名称", width = 15)
    @ApiModelProperty(value = "库位名称")
    private String warehouseLocation;
    /**批次号*/
    @Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
    private String batch;
    /**物料批号*/
    @Excel(name = "物料批号", width = 15)
    @ApiModelProperty(value = "物料批号")
    private String materialBatchNumber;
    /**制单人*/
    @Excel(name = "制单人", width = 15)
    @ApiModelProperty(value = "制单人")
    private String preparedBy;
    /**制单日期*/
    @Excel(name = "制单日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "制单日期")
    private Date preparedTime;
	/**进厂日期*/
	@Excel(name = "入库日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入库日期")
    private Date enterDate;
    /**生产日期*/
    @Excel(name = "生产日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生产日期")
    private Date productionDate;

    /**状态*/
    @Excel(name = "当前状态", width = 15, dicCode = "kc_status")
    @Dict(dicCode = "kc_status")
    @ApiModelProperty(value = "当前状态")
    private String status;
    /**质检状态*/
    @Excel(name = "质检状态", width = 15, dicCode = "zj_status")
    @Dict(dicCode = "zj_status")
    @ApiModelProperty(value = "质检状态")
    private String qualityInspectionStatus;
    /**供应商名称*/
    @Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    private String supplierName;
    /**限用日期*/
    @Excel(name = "限用日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "限用日期")
    private Date restrictedDate;
    /**宝洁供应商编码*/
    @Excel(name = "宝洁供应商编码", width = 15)
    @ApiModelProperty(value = "宝洁供应商编码")
    private String bjSupplierCode;
    /**宝洁供应商*/
    @Excel(name = "宝洁供应商", width = 15)
    @ApiModelProperty(value = "宝洁供应商")
    private String bjSupplier;

}
